/* A Bison parser, made by GNU Bison 2.5.  */

/* Bison interface for Yacc-like parsers in C
   
      Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
   
   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.
   
   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */


/* Tokens.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
   /* Put the tokens into the symbol table, so that GDB and other debuggers
      know about them.  */
   enum yytokentype {
     Name = 258,
     Float = 259,
     Int = 260,
     String = 261,
     CREATE = 262,
     TABLE = 263,
     INTEGER = 264,
     TDOUBLE = 265,
     TSTRING = 266,
     HEAP = 267,
     SORTED = 268,
     ON = 269,
     INSERT = 270,
     INTO = 271,
     DROP = 272,
     SET = 273,
     OUTPUT = 274,
     STDOUT = 275,
     NONE = 276,
     JOIN = 277,
     HASH = 278,
     SORT = 279,
     UPDATE = 280,
     STATISTICS = 281,
     FOR = 282,
     SELECT = 283,
     GROUP = 284,
     DISTINCT = 285,
     BY = 286,
     FROM = 287,
     WHERE = 288,
     SUM = 289,
     AS = 290,
     AND = 291,
     OR = 292,
     QUIT = 293,
     EXIT = 294
   };
#endif
/* Tokens.  */
#define Name 258
#define Float 259
#define Int 260
#define String 261
#define CREATE 262
#define TABLE 263
#define INTEGER 264
#define TDOUBLE 265
#define TSTRING 266
#define HEAP 267
#define SORTED 268
#define ON 269
#define INSERT 270
#define INTO 271
#define DROP 272
#define SET 273
#define OUTPUT 274
#define STDOUT 275
#define NONE 276
#define JOIN 277
#define HASH 278
#define SORT 279
#define UPDATE 280
#define STATISTICS 281
#define FOR 282
#define SELECT 283
#define GROUP 284
#define DISTINCT 285
#define BY 286
#define FROM 287
#define WHERE 288
#define SUM 289
#define AS 290
#define AND 291
#define OR 292
#define QUIT 293
#define EXIT 294




#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{

/* Line 2068 of yacc.c  */
#line 38 "Parser.y"

 	struct FuncOperand *myOperand;
	struct FuncOperator *myOperator; 
	struct TableList *myTables;
	struct ComparisonOp *myComparison;
	struct Operand *myBoolOperand;
	struct OrList *myOrList;
	struct AndList *myAndList;
	struct NameList *myNames;
	struct AttributeList *attrList;
	char *actualChars;
	char whichOne;



/* Line 2068 of yacc.c  */
#line 144 "y.tab.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif

extern YYSTYPE yylval;


